package com.icode.dao;

import com.icode.core.dto.house.RentDTO;
import com.icode.core.model.house.MyHouse;
import com.icode.core.model.house.MyHouseStatus;
import com.icode.core.model.user.User;
import com.icode.core.model.user.UserInfo;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: xianfei
 * Date: 15-9-16
 * Time: 上午10:42
 * To change this template use File | Settings | File Templates.
 */
public interface MyHouseDao extends EntityDao {

    List<MyHouse> findMyHouse(UserInfo userInfo);

    UserInfo findUserInfoByUser(User user);

    List<MyHouse> findMyChangeHouse(UserInfo userInfo);

    List<MyHouse> findMyTransferHouses(UserInfo userInfo);

    List<MyHouse> findMyHouseisToAssignmnet();

    List<MyHouse> findMyHouseByCondition(String area, String week, String themes);

    List<MyHouse> findMyHouseByUsername(String username);

    List<MyHouse> findMyExChangeHouseByUsername(String username, MyHouseStatus myHouseStatus, boolean exchangeHouse);
}
